package com.huizhan.web.model;

import javax.persistence.*;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;
import java.util.Date;

/**
 * @Description 用户日志 
 * @Author  yanluping@outlook.com
 * @Date 2020-01-09 19:15:53 
 */
@JsonIgnoreProperties({"hibernateLazyInitializer","handler"})
@Entity
@ApiModel(value =  "用户日志")
@Table ( name ="Account_Log")
public class AccountLog  implements Serializable {

	private static final long serialVersionUID =  9139181394495468420L;

	/**
	 * 项目日志ID
	 */
	@ApiModelProperty(value = "项目日志ID")
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "Account_Log_Id" )
	private Long accountLogId;

	/**
	 * 账号ID
	 */
	@ApiModelProperty(value = "账号ID")
   	@Column(name = "Account_Id" )
	private String accountId;

	/**
	 * 项目ID
	 */
	@ApiModelProperty(value = "项目ID")
   	@Column(name = "Project_Id" )
	private String projectId;

	/**
	 * 项目
	 */
	@ApiModelProperty(value = "项目")
   	@Column(name = "Project" )
	private String project;

	/**
	 * 姓名
	 */
	@ApiModelProperty(value = "姓名")
   	@Column(name = "Name" )
	private String name;

	/**
	 * 描述
	 */
	@ApiModelProperty(value = "描述")
   	@Column(name = "Remark" )
	private String remark;

	/**
	 * 数据表
	 */
	@ApiModelProperty(value = "数据表")
   	@Column(name = "Data_Table" )
	private String dataTable;

	/**
	 * 类型：1 增、2 删、3  改
	 */
	@ApiModelProperty(value = "类型：1 增、2 删、3  改")
   	@Column(name = "Type" )
	private Long type;

	/**
	 * 操作数据ID
	 */
	@ApiModelProperty(value = "操作数据ID")
   	@Column(name = "Data_Id" )
	private String dataId;

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ApiModelProperty(value = "创建时间",example = "2018-10-01 12:18:48")
   	@Column(name = "CreateDate" )
	private Date createDate;

	public Long getAccountLogId() {
		return this.accountLogId;
	}

	public void setAccountLogId(Long accountLogId) {
		this.accountLogId = accountLogId;
	}

	public String getAccountId() {
		return this.accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public String getProjectId() {
		return this.projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getProject() {
		return this.project;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDataTable() {
		return this.dataTable;
	}

	public void setDataTable(String dataTable) {
		this.dataTable = dataTable;
	}

	public Long getType() {
		return this.type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	public String getDataId() {
		return this.dataId;
	}

	public void setDataId(String dataId) {
		this.dataId = dataId;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Override
	public String toString() {
		return "{" +
					"accountLogId='" + accountLogId + '\'' +
					"accountId='" + accountId + '\'' +
					"name='" + name + '\'' +
					"project='" + project + '\'' +
					"projectId='" + projectId + '\'' +
					"remark='" + remark + '\'' +
					"dataTable='" + dataTable + '\'' +
					"type='" + type + '\'' +
					"dataId='" + dataId + '\'' +
					"createDate='" + createDate + '\'' +
				'}';
	}

}
